<?php
if($auth->isLogged())
{
		$template = $twig->loadTemplate('admin/index.html');
		echo $template->render($view);
}
else
{
	header('Location: admin/login.html');
}